﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HiddenField.aspx.cs" Inherits="HiddenField" %>

<%@ Register src="UserControl/TimeControl.ascx" tagname="TimeControl" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Hidden Field</title>
</head>
<body>

    <form id="form1" runat="server">

  <div>
  <h1>Hidden Field</h1>
      <uc1:TimeControl ID="TimeControl1" runat="server" />
 
    </div>

    <div>
        <asp:HiddenField ID="HdiHidden" runat="server" value="1234" /><br />
        <asp:Label ID="LblHidenValue" runat="server" Text="Label"></asp:Label><br />
        <asp:Button ID="BtnSubmit" runat="server" Text="Submit" /><br />
    </div>
    
    <a href ="HiddenField2.aspx" > Example of HiddenField</a>
    <br />
    <table>
    <tr>
    <td>
    <th>Form</th>
    </td>
    <tr>
    
    <td>
      <asp:Label ID="LblFName" runat="server" Text="FirstName"></asp:Label>  
    </td>
    <td>
     <asp:TextBox ID="TxtFName" runat="server"></asp:TextBox>
    </td>
       </tr>
    <tr>
    <td>
      <asp:Label ID="LblLName" runat="server" Text="LastName"></asp:Label>  
    </td>
    <td>
     <asp:TextBox ID="TxtLName" runat="server"></asp:TextBox>
    </td>
       </tr>
       <tr>
    <td>
      <asp:Label ID="LblEmail" runat="server" Text="E-Mail ID"></asp:Label>  
    </td>
    <td>
     <asp:TextBox ID="TxtEmail" runat="server"></asp:TextBox>
    </td>
       </tr>
       <tr>
    <td>
      <asp:Label ID="LblDob" runat="server" Text="Date Of Birth"></asp:Label>  
    </td>
    <td>
     <asp:TextBox ID="TxtDob" runat="server"></asp:TextBox>
    </td>
       </tr>
              
       <table>
       <tr>
       <td>
           <asp:Button ID="Button1" runat="server" Text="Submit" 
               onclick="BtnSubmit_Click" />
       </td>
       <td>
       <asp:Button ID="BtnReset" runat="server" Text="Reset" />
       </td>
       </tr>
    </table>
     
      
   
    <a href = "Default.aspx">Back</a>
     </form>
</body>
</html>
